<div class="middle">
Welcome <?=$this->session->name?>,<br>

    This is your home page<br>

    <a href="<?=$this->url(array('controller'=>'auth','action'=>'logout'))?>">click here to logout</a>
    <a href="<?=$this->url(array('controller'=>'auth','action'=>'edit'))?>">click here to edit</a>
    </div>